package com.bezdelnick.forum.web.panel;

import com.bezdelnick.forum.web.component.LinkWithText;
import com.bezdelnick.forum.web.page.AddQuestionPage;
import com.bezdelnick.forum.web.page.IndexPage;
import com.bezdelnick.forum.web.page.LoginPage;
import com.bezdelnick.forum.web.page.UserRegistrationPage;
import org.apache.wicket.authroles.authentication.AuthenticatedWebSession;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.Model;
import org.apache.wicket.request.mapper.parameter.PageParameters;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: User
 * Date: 10.08.12
 * Time: 16:16
 * To change this template use File | Settings | File Templates.
 */
public class UserMainMenuPanel extends Panel {
    public UserMainMenuPanel(String id) {
        super(id);

        BookmarkablePageLink bplListQuestions = new BookmarkablePageLink("goto_list_questions", IndexPage.class);
        bplListQuestions.setBody(new Model<Serializable>("Go to list questions"));
        add(bplListQuestions);
    }
}
